package com.xinyou.u8c.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;

/**
 * <p>
 * 
 * </p>
 *
 * @author chq
 * @since 2023-09-15
 */
@Data
@Getter
@Setter
@ApiModel(value = "Bfcustomitemzjb对象", description = "")
public class Bfcustomitemzjb implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String accountorg;

    private String allowaddlower;

    private String completedate;

    private String cusitemcategory;

    private String cusitemcode;

    private String cusitemfullnameCht;

    private String cusitemfullnameEn;

    private String cusitemfullnameEs;

    private String cusitemfullnamePt;

    private String cusitemnameCht;

    private String cusitemnameEn;

    private String cusitemnameEs;

    private String cusitemnamePt;

    private String cusitemproperty;

    private String defcharcol01;

    private String defcharcol02;

    private String defcharcol03;

    private String defcharcol04;

    private String defcharcol05;

    private String defcharcol06;

    private String defcharcol07;

    private String defcharcol08;

    private String defcharcol09;

    private String defcharcol10;

    private String defcharcol11;

    private String defcharcol12;

    private String defcharcol13;

    private String defcharcol14;

    private String defcharcol15;

    private String defcharcol16;

    private String defcharcol17;

    private String defcharcol18;

    private String defcharcol19;

    private String defcharcol20;

    private String defnumbercol01;

    private String defnumbercol02;

    private String defnumbercol03;

    private String defnumbercol04;

    private String defnumbercol05;

    private String defnumbercol06;

    private String defnumbercol07;

    private String defnumbercol08;

    private String defnumbercol09;

    private String defnumbercol10;

    private String iscompleted;

    private String isdisabled;

    private String mnemoniccode;

    private String permissionclasses;

    private String permissionflag;

    private String timestampCreatedby;

    private String timestampCreatedon;

    private String timestampLastchangedby;

    private String timestampLastchangedon;

    @Value("1")
    private String treeinfoIsdetail;

    @Value("1")
    private String treeinfoLayer;

    private String treeinfoPath;

    @Value("FI_PUBLIC")
    private String securitylevel;

    private String cusitemnameChs1;

    private String cusitemfullnameChs1;

    public List<String> getHeader() {
        return new ArrayList<>(Arrays.asList("ID;ACCOUNTORG;ALLOWADDLOWER;COMPLETEDATE;CUSITEMCATEGORY;CUSITEMCODE;CUSITEMFULLNAME_CHT;CUSITEMFULLNAME_EN;CUSITEMFULLNAME_ES;CUSITEMFULLNAME_PT;CUSITEMNAME_CHT;CUSITEMNAME_EN;CUSITEMNAME_ES;CUSITEMNAME_PT;CUSITEMPROPERTY;DEFCHARCOL01;DEFCHARCOL02;DEFCHARCOL03;DEFCHARCOL04;DEFCHARCOL05;DEFCHARCOL06;DEFCHARCOL07;DEFCHARCOL08;DEFCHARCOL09;DEFCHARCOL10;DEFCHARCOL11;DEFCHARCOL12;DEFCHARCOL13;DEFCHARCOL14;DEFCHARCOL15;DEFCHARCOL16;DEFCHARCOL17;DEFCHARCOL18;DEFCHARCOL19;DEFCHARCOL20;DEFNUMBERCOL01;DEFNUMBERCOL02;DEFNUMBERCOL03;DEFNUMBERCOL04;DEFNUMBERCOL05;DEFNUMBERCOL06;DEFNUMBERCOL07;DEFNUMBERCOL08;DEFNUMBERCOL09;DEFNUMBERCOL10;ISCOMPLETED;ISDISABLED;MNEMONICCODE;PERMISSIONCLASSES;PERMISSIONFLAG;TIMESTAMP_CREATEDBY;TIMESTAMP_CREATEDON;TIMESTAMP_LASTCHANGEDBY;TIMESTAMP_LASTCHANGEDON;TREEINFO_ISDETAIL;TREEINFO_LAYER;TREEINFO_PATH;SECURITYLEVEL;CUSITEMNAME_CHS1;CUSITEMFULLNAME_CHS1".split(";")));
    }

    public String[] getFields() {
        return new String[]{"id","accountorg","allowaddlower","completedate","cusitemcategory","cusitemcode","cusitemfullnameCht","cusitemfullnameEn","cusitemfullnameEs","cusitemfullnamePt","cusitemnameCht","cusitemnameEn","cusitemnameEs","cusitemnamePt","cusitemproperty","defcharcol0","defcharcol02","defcharcol03","defcharcol04","defcharcol05","defcharcol06","defcharcol07","defcharcol08","defcharcol09","defcharcol10","defcharcol1","defcharcol12","defcharcol13","defcharcol14","defcharcol15","defcharcol16","defcharcol17","defcharcol18","defcharcol19","defcharcol20","defnumbercol0","defnumbercol02","defnumbercol03","defnumbercol04","defnumbercol05","defnumbercol06","defnumbercol07","defnumbercol08","defnumbercol09","defnumbercol10","iscompleted","isdisabled","mnemoniccode","permissionclasses","permissionflag","timestampCreatedby","timestampCreatedon","timestampLastchangedby","timestampLastchangedon","treeinfoIsdetail","treeinfoLayer","treeinfoPath","securitylevel","cusitemnameChs1","cusitemfullnameChs1"};
    }
}
